Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing NURB Curves


Q3NURBCurve_SetKnot

You can use the Q3NURBCurve_SetKnot function to set a knot of a NURB curve.

TQ3Status Q3NURBCurve_SetKnot (
TQ3GeometryObject curve, 
unsigned long knotIndex, 
float knotValue);
curve
A NURB curve.
knotIndex
An index into the knots array of knots for the specified NURB curve.
knotValue
The desired value of the specified knot of the specified NURB curve.
DESCRIPTION
The Q3NURBCurve_SetKnot function sets the value of the knot having the index specified by the knotIndex parameter in the knots array of the NURB curve specified by the curve parameter to the value specified in the knotValue parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996